package com.cavas.domain.bean;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name="retard")
public class Retard implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	@Id
	@GeneratedValue
	private int retardId;	
	private String date;
	@ManyToOne
	@JoinColumn(name="membreId")
	private Membre membre;	
	private Integer montant;
	private String info;
	private String nom;
	
	
	public int getRetardId() {
		return retardId;
	}
	public void setRetardId(int id) {
		this.retardId = id;
	}
	
	public String getDate() {
		return date;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public Membre getMembre() {
		return membre;
	}

	public void setMembre(Membre membre) {
		this.membre = membre;
	}
	public Integer getMontant() {
		return montant;
	}
	public void setMontant(Integer montant) {
		this.montant = montant;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	


	
}